#include <stdio.h>
int main()
{int n;
scanf("%d",&n);
int t=0;
int i=1;
int count=0;
while(n*n*n!=t)
{t+=i;
i=i+2;
count++;

}
printf("%d",count);

    return 0;
}
